package com.xique.door.bean.vo.visitor;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author shd
 * @create 2022/3/3 13:24
 */
@Data
public class VisitorAuthorizeListVO {

    private Long id;

    /** 访客ID */
    private Long visitorId;

    /** 访客名字 */
    private String visitorName;

    private String visitorPhone;

    private String buildName;

    /** 设备ID */
    private Long deviceId;

    /** 设备名字 */
    private String deviceName;

    /** 状态（SUCCESS, SEND, FAILURE） */
    private String status;

    /** 备注 */
    private String remark;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
}
